<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt"%>
<%@ taglib prefix="wr_fn" uri="http://njo.org/taglib/functions"%>












<html>
<head>
<title>Templates - Adapter</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="${pageContext.request.contextPath}/style/style.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript">
<!--
  
  function $id() {
    var elements = new Array();
    for (var i = 0; i < arguments.length; i++) {
      var element = arguments[i];
      if (typeof element == 'string') {
        element = document.getElementById(element);
      } 
      if (arguments.length == 1) {
        return element;
      }
      elements.push(element);
    }
    return elements;
  }

  function $name() {
    var elements = new Array();
    for (var i = 0; i < arguments.length; i++) {
      var element = arguments[i];
      if (typeof element == 'string') {
        element = document.getElementsByName(element);
      } 
      if (arguments.length == 1) {
        return element;
      }
      elements.push(element);
    }
    return elements;
  }

  function menu_click(idstr) {
    var menuElement = $id(idstr);
    // alert(menuElement.style.display);
    menuElement.style.display = (menuElement.style.display=="none") ? "" : "none";
    
  }

-->
</script>
</head>
<body>
<!-- start Header -->

<!-- end Header -->
<table cellspacing="4" width="100%" border="0">
  <tbody>
  <tr>
    <td colspan="3">
      <hr noshade="true" size="1"/>
    </td></tr>
  <tr><!-- left side navigation -->
    <td class="navleft" valign="top" nowrap="true" width="14%">
      <!-- start Left -->
<div class="menuheader">
  <font color="blue">建设中......</font>
</div>
<menu compact="true">
  <li><a title="mailto" href="mailto:njo_80@163.com">点击这里,写信给我</a></li>
</menu>
      <!-- end Left -->
    </td>
    <!-- content -->
    <td class="content" valign="top" align="left" width="70%">
      <!-- start Body -->
<h2><a name="welcome">适配器</a></h2>

<form method="POST" action="${pageContext.request.contextPath}templates/java1.patterns.adapter.template" name="loginForm">
  <input type="hidden" name="redirect" value="">
  <table border="0" cellspacing="5">
    <!-- username password prompts fields layout -->
    <tr>
    <td>
     <table width="100%" border="0" cellspacing="2" cellpadding="5">
     <tr>
      <th align="right">
        <label for="name">程序ID：</label>
      </th>
      <td align="left">
        <input type="text" name="pgid" size="16" id="name" value="ADA0001"/>
      </td>
    </tr>
    <p>
    <tr>
      <th align="right">
        <label for="password">Package:</label>
      </th>
      <td align="left">
        <input type="text" name="package" size="16" id="password" value="org.njo.kkk"/>
      </td>
    </tr>
    <tr>
      <td width="50%" valign="top"> <div align="right"></div> </td>
      <td width="55%" valign="top">&nbsp;</td>
     </tr>
    <!-- login reset buttons layout -->
    <tr>
       <td width="50%" valign="top">
            <div align="right">
               <input type="submit" value='生成'>&nbsp;&nbsp;
            </div>
       </td>
       <td width="55%" valign="top">
          &nbsp;&nbsp;<input type="reset" value='保存'>
       </td>
     </tr>
  </table>
  <p> &nbsp;
  </td>
  </tr>
 </table>
</form>

      <!-- end Body -->
    </td>
    <!-- right side navigation -->
    <td class="navright" valign="top" nowrap="true" width="14%">
      <!-- start Right -->

<div class="menuheader">
  <a title="Njo Software 首页" href="${pageContext.request.contextPath}index.tiles">Home</a>
</div>
<menu compact="true">
</menu>
<!-- 登录之后，需要隐藏或者变成退出登录 -->

  
    <div class="menuheader">
      <a title="登录网站" href="${pageContext.request.contextPath}login.tiles">Login</a>
    </div>
    <menu compact="true">
    </menu>
  
  


<div class="menuheader"><a name="news">News</a></div>
<menu compact="true">
  <li><a title="" href="${pageContext.request.contextPath}building.tiles">网站开张了</a></li>
  <li><a title="" href="${pageContext.request.contextPath}building.tiles">今天天气不错</a></li>
</menu>

<div class="menuheader"><a title="论坛" href="${pageContext.request.contextPath}forum.tiles">Forum</a></div>
<menu compact="true">
  <li><a title="" href="${pageContext.request.contextPath}forum.tiles">板块1</a></li>
  <li><a title="" href="${pageContext.request.contextPath}forum.tiles">板块2</a></li>
</menu>

<div class="menuheader"><a name="article">Article</a></div>
<menu compact="true">
  <li><a title="" href="${pageContext.request.contextPath}building.tiles">配置服务器</a></li>
</menu>

<div class="menuheader">Search njo.org</div>
<form action="${pageContext.request.contextPath}building.tiles" method="post">
  <p><input size="10" name="query"/>
  <input type="submit" value="go"/></p>
</form>
      <!-- end Right -->
    </td>
  </tr>
  <!-- footer -->
  <tr>
    <td colspan="3">
      <hr noshade="true" size="1"/>
    </td>
  </tr>
  <tr>
    <td class="footer" colspan="3">
    <!-- start footer -->
    










Copyright © 2000-2004, The Njo Software.
    <!-- end footer -->
    </td>
  </tr>
  </tbody>
</table>
</body>
</html>

